<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
      <title>Views Data - Bitzer</title>
      <!--<link rel="StyleSheet" href="assets/css/style.css" type="text/css" />-->

  </head>
  <body>

      <?php
            
            include("../includes/custom/bal_views.php");


            $bal = new BAL();

            $bal->params = $bal->getQueryStringValues($_SERVER['QUERY_STRING']);

            //$all_current_menu_items = $bal->getCountAtCurrentLevel();

      ?>

       <table data-bitzer-data="true"
              data-bitzer-title="BitzerMobile Views"
              data-bitzer-desc="Views demo"
              data-bitzer-component="rss"
              data-bitzer-record-count="5"
              <?php
                if(!isset ($bal->params["recordCount"]) || $bal->params["recordCount"][0] == "N")
                {
              ?>
              data-bitzer-number-of-rows="5"
              data-bitzer-start-index="0"
              <?php
                }
              ?>
              width="100%">

           <?php
                if(isset ($bal->params["recordCount"]) && $bal->params["recordCount"][0] == "Y")
                {
           ?>
                    <tr>
                        <td>Record Count</td>
                        <td>5</td>
                    </tr>

           <?php
                }
                else
                {
           ?>

                    <tr>
                        <th data-bitzer-field="id" data-bitzer-key-order="1">ID</th>
                        <th data-bitzer-field="title">Title</th>
                        <th data-bitzer-field="content">Content</th>
                        <th data-bitzer-field="url">URL</th>
                        <th data-bitzer-field="image_path">Image</th>
                        <th data-bitzer-field="publish_date">Publish Date</th>
                        <th data-bitzer-field="last_modified_on">Last Modified On</th>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="1">
                        <td>1</td>
                        <td>Japan won't allow Sony to turn PSN back on until it's assured it's safe</td>
                        <td>Sony may be busy flipping the PlayStation Network switch back to the "on" position around the globe, but one locale where it won't be doing so just yet is its homeland of Japan.</td>
                        <td>http://www.engadget.com/2011/05/16/japan-wont-allow-sony-to-turn-psn-back-on-until-its-assured-it/</td>
                        <td><img src="assets/images/rss1.jpg" /></td>
                        <td>16 May 2011, 1:53 am</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="2">
                        <td>2</td>
                        <td>Official: Samsung Galaxy S and Galaxy Tab getting Gingerbread update in mid-May</td>
                        <td>After encountering a little hitch with its mid-April Gingerbread delivery, Samsung is now ready to boot up Kies for another try. The company has this morning released word that it intends to </td>
                        <td>http://www.engadget.com/2011/05/16/official-samsung-galaxy-s-and-galaxy-tab-getting-gingerbread-up/</td>
                        <td><img src="assets/images/rss2.jpg" /></td>
                        <td>16 May 2011, 1:08 am</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="3">
                        <td>3</td>
                        <td>NTT DoCoMo's Fujitsu LOOX F-07C goes official, dual-boots to Windows 7 and Symbian (updated)</td>
                        <td>Yes, 'tis quite a shock for a Monday morning, but it turns out the dual-booting Fujitsu LOOX F-07C smartphone is indeed legit. According to NTT DoCoMo's preliminary spec sheet, this 7.69-ounce landscape slider handles both Symbian and </td>
                        <td>http://www.engadget.com/2011/05/15/ntt-docomos-fujitsu-loox-f-07c-goes-official-coming-with-windo/</td>
                        <td><img src="assets/images/rss3.jpg" /></td>
                        <td>15 May 2011, 11:57 pm</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="4">
                        <td>4</td>
                        <td>Lenovo ThinkCentre Edge 91z leaks out: a 21.5-inch all-in-one desktop with optional boot drive</td>
                        <td>If you're looking for a sleek, angular slab of an all-in-one desktop computer, Lenovo may have the machine for you, as we've just intercepted plans for this unannounced ThinkCentre Edge 91z, and she's most definitely a beaut.</td>
                        <td>http://www.engadget.com/2011/05/15/lenovo-thinkcentre-edge-91z-leaks-out-a-21-5-inch-all-in-one-de/</td>
                        <td><img src="assets/images/rss4.png" /></td>
                        <td>15 May 2011, 11:01 pm</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="5">
                        <td>5</td>
                        <td>Inhabitat's Week in Green: floating trains, dead bees, dirt-powered phones and Cornish pasties</td>
                        <td>Each week our friends at Inhabitat recap the week's most interesting green developments and clean tech news for us -- it's the Week in Green. Did you know that the cell phone in your pocket could be causing</td>
                        <td>http://www.engadget.com/2011/05/15/inhabitats-week-in-green-floating-trains-dead-bees-dirt-powe/</td>
                        <td><img src="assets/images/rss5.jpg" /></td>
                        <td>15 May 2011, 10:00 pm</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>
         <?php
                }
         ?>
       </table>
  </body>
</html>